package com.bootdo.front.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.front.dao.JobPositionDao;
import com.bootdo.front.domain.JobPositionDO;
import com.bootdo.front.service.JobPositionService;



@Service
public class JobPositionServiceImpl implements JobPositionService {
	@Autowired
	private JobPositionDao jobPositionDao;
	
	@Override
	public JobPositionDO get(Integer id){
		return jobPositionDao.get(id);
	}
	
	@Override
	public List<JobPositionDO> list(Map<String, Object> map){
		return jobPositionDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return jobPositionDao.count(map);
	}
	
	@Override
	public int save(JobPositionDO jobPosition){
		return jobPositionDao.save(jobPosition);
	}
	
	@Override
	public int update(JobPositionDO jobPosition){
		return jobPositionDao.update(jobPosition);
	}
	
	@Override
	public int remove(Integer id){
		return jobPositionDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return jobPositionDao.batchRemove(ids);
	}
	
}
